<%-- 
    Document   : login
    Created on : Aug 1, 2012, 9:10:01 AM
    Author     : DarkTerror
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>

        <link href="style/style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript">
            <%
                if(request.getSession().getAttribute("user") != null) {
                    out.write("alert('Anda Telah Login'); \n");
                    out.write("window.location='index.jsp';");
                }
            %>
        </script>
    </head>
    <body>
        <div id="central">      
            <div id="menuatas">
                <marquee>
                    <h3> Welcome </h3>
                </marquee>
            </div>

            <div id="header"> 
            </div>

            <ul id="navlist" class="drop-menu">
                <li><a id="n1" href="index.jsp"><span>Home</span></a></li>
                <li><a id="n2" href="view_karyawan.jsp"><span>Karyawan</span></a></li>
                <li><a id="n3" href="view_pekerjaan.jsp"><span>Pekerjaan</span></a></li>
                <li><a id="n4" href="view_alokasi.jsp"><span>Alokasi Pekerjaan</span></a></li>
                <li><a id="n5" href="about.jsp"><span>About</span></a></li> 
            </ul>             
            <div id="content">

                <div id="rightside">
                    <form method="post" name="form" action="/TR_Persistance_Alokasi_Karyawan/LoginAdmin" onsubmit="return cekData()">
                        <table>
                            <tr>
                                <td>Username</td>
                                <td>:</td>
                                <td><input type="text" name="txtUsername" id="txtUsername" size="20px"></td>
                            </tr>

                            <tr>
                                <td>Password</td>
                                <td>:</td>
                                <td><input type="password" name="txtPassword" id="txtPassword" size="20px"></td>
                            </tr

                            <tr>
                                <td colspan="3" align="right"><input type="submit" value="Login"></td>
                            </tr>
                        </table>
                    </form>                   
                </div>

                <div id="footer">
                    <p>&COPY; copyright TR PERSISTENCE</p>
                </div>
            </div>
        </div>
    </body>
</html>
